package com.imooc.luckymoney.enums;

public enum ResultEnum {
    UNKNOWN_ERROR(-1,"unknown error"),
    LESS_THAN_FIVE(100,"less than five"),
    MORE_THAN_100(101,"more than 100"),
    OTHERS(102,"other situation")
    ;
    private Integer code;

    private String msg;



    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
